{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}F:\Presidential Studies Quarterly Data Replication\Manuscript\Loyalty-Competence Tradeoffs.TABLE 1 & FIGURE 1 STATISTICS.09-23-2018.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res}23 Sep 2018, 20:58:28
{txt}
{com}.  
.  
.  
.  
.  **** TABLE 1 AND FIGURE 1 STATISTICAL ANALYSIS [PLUS ANCILLARY TESTS DISCUSSED IN THE MANUSCRIPT] ******
.  
.     
.  
. **** OPEN "POLITICAL APPOINTMENTS" DATA SET ****
.     
. use "F:\Presidential Studies Quarterly Data Replication\Manuscript\Measurement Database.BGLTA MODEL 23FBIT.05-30-2015.subset of manifest indicator variables.09-23-2018.dta", clear
{txt}
{com}. 
.  
.          
. set more off 
{txt}
{com}. 
.  
.  
. ***************************************************************************************************************************************************************************************************************************************
. *********************************************************************************************************************************************************************************************
. ***************************************************************************************************************************************************************************************************************************************
. *********************************************************************************************************************************************************************************************
. ***************************************************************************************************************************************************************************************************************************************
. *********************************************************************************************************************************************************************************************
. ***************************************************************************************************************************************************************************************************************************************
. *********************************************************************************************************************************************************************************************
.  
.  
.  
.  
. *** STATISTICAL ANALYSIS FOR PRESIDENTIAL APPOINTMENT LOYALTY-COMPETENCE TRADEOFFS FOR U.S. FEDERAL AGENCY LEADERSHIP POSITIONS ***
. 
. 
.  
. *** TABLE 2: BIVARIATE CORRELATION ESTIMATES OF LOYALTY-COMPETENCE TRADEOFFS ****
.  
.  
. ** FULL SAMPLE **
. 
. pwcorr zloyalmedian zmecompmedian zpecompmedian, obs sig bonferroni

             {txt}{c |} zloyal~n zmecom~n zpecom~n
{hline 13}{c +}{hline 27}
zloyalmedian {c |} {res}  1.0000 
             {txt}{c |}
             {c |}{res}     1372
             {txt}{c |}
zmecompmed~n {c |} {res} -0.1223   1.0000 
             {txt}{c |}{res}   0.0000
             {txt}{c |}{res}     1372     1372
             {txt}{c |}
zpecompmed~n {c |} {res} -0.4369   0.6969   1.0000 
             {txt}{c |}{res}   0.0000   0.0000
             {txt}{c |}{res}     1372     1372     1372
             {txt}{c |}

{com}. 
. 
. ** CORRELATIONS DIFFERENCES VIA FISHER R-TO-Z TRANSFORMATIONS **
.  
. * LOYALTY-MANAGERIAL VS. LOYLATY-POLICY COMPETENCE CORRELATION DIFFERENCE *
. 
. cortesti -0.437 1372 -0.122 1372

{txt}Test of equality of two correlation coefficients
drawn from the two different samples
------------------------------------------------

Coefficient 1 = -0.437 (n1 =   1372)
Coefficient 2 = -0.122 (n2 =   1372)

Ho: coefficient 1 = coefficient 2
         z = {res} -9.050
{txt}Prob > |z| = {res}  0.0000
{txt}
{com}. 
. 
.  
. *********************************************************************************************************************************************************************************************
. ***************************************************************************************************************************************************************************************************************************************
. *********************************************************************************************************************************************************************************************
. ***************************************************************************************************************************************************************************************************************************************
. *********************************************************************************************************************************************************************************************
. *********************************************************************************************************************************************************************************************
. ***************************************************************************************************************************************************************************************************************************************
. *********************************************************************************************************************************************************************************************
. ***************************************************************************************************************************************************************************************************************************************
. *********************************************************************************************************************************************************************************************
.  
.  
.  
. ** BY ORGANIZATIONAL POSITION WITHIN AGENCY: [TOPLEVEL==1: ONLY FOR MAJOR AGENCY HEADS/CHAIRS; TOPLEVEL2==1: BOTH MAJOR AGENCY HEADS/CHAIRS, PLUS EXECUTIVE BUREAU/OFFICE HEADS] **
. **                                           [TOPLEVEL==0: NON MAJOR AGENCY HEADS/CHAIRS; TOPLEVEL2==1: NEITHER MAJOR AGENCY HEADS/CHAIRS NOR EXECUTIVE BUREAU/OFFICE HEADS]
.  
. pwcorr zloyalmedian zmecompmedian zpecompmedian if toplevel==1, obs sig bonferroni 

             {txt}{c |} zloyal~n zmecom~n zpecom~n
{hline 13}{c +}{hline 27}
zloyalmedian {c |} {res}  1.0000 
             {txt}{c |}
             {c |}{res}      311
             {txt}{c |}
zmecompmed~n {c |} {res} -0.2456   1.0000 
             {txt}{c |}{res}   0.0000
             {txt}{c |}{res}      311      311
             {txt}{c |}
zpecompmed~n {c |} {res} -0.4715   0.7298   1.0000 
             {txt}{c |}{res}   0.0000   0.0000
             {txt}{c |}{res}      311      311      311
             {txt}{c |}

{com}. 
. pwcorr zloyalmedian zmecompmedian zpecompmedian if toplevel2==1, obs sig bonferroni 

             {txt}{c |} zloyal~n zmecom~n zpecom~n
{hline 13}{c +}{hline 27}
zloyalmedian {c |} {res}  1.0000 
             {txt}{c |}
             {c |}{res}      477
             {txt}{c |}
zmecompmed~n {c |} {res} -0.1758   1.0000 
             {txt}{c |}{res}   0.0003
             {txt}{c |}{res}      477      477
             {txt}{c |}
zpecompmed~n {c |} {res} -0.5232   0.6772   1.0000 
             {txt}{c |}{res}   0.0000   0.0000
             {txt}{c |}{res}      477      477      477
             {txt}{c |}

{com}. 
. pwcorr zloyalmedian zmecompmedian zpecompmedian if toplevel==0, obs sig bonferroni 

             {txt}{c |} zloyal~n zmecom~n zpecom~n
{hline 13}{c +}{hline 27}
zloyalmedian {c |} {res}  1.0000 
             {txt}{c |}
             {c |}{res}     1061
             {txt}{c |}
zmecompmed~n {c |} {res} -0.0917   1.0000 
             {txt}{c |}{res}   0.0084
             {txt}{c |}{res}     1061     1061
             {txt}{c |}
zpecompmed~n {c |} {res} -0.3854   0.7016   1.0000 
             {txt}{c |}{res}   0.0000   0.0000
             {txt}{c |}{res}     1061     1061     1061
             {txt}{c |}

{com}. 
. 
. 
. ** CORRELATIONS DIFFERENCES VIA FISHER R-TO-Z TRANSFORMATIONS **
.  
. 
. * LOYALTY-MANAGERIAL COMPETENCE (TOPLEVEL DISTINCTION ONLY FOR MAJOR AGENCY HEADS) *
. cortesti -0.246 311 -0.092 1061

{txt}Test of equality of two correlation coefficients
drawn from the two different samples
------------------------------------------------

Coefficient 1 = -0.246 (n1 =    311)
Coefficient 2 = -0.092 (n2 =   1061)

Ho: coefficient 1 = coefficient 2
         z = {res} -2.454
{txt}Prob > |z| = {res}  0.0141
{txt}
{com}. 
. 
. * LOYALTY-MANAGERIAL COMPETENCE (TOPLEVEL2 DISTINCTION FOR MAJOR AGENCY & SUBAGENCY HEADS) *
. cortesti -0.176 477 -0.098 895

{txt}Test of equality of two correlation coefficients
drawn from the two different samples
------------------------------------------------

Coefficient 1 = -0.176 (n1 =    477)
Coefficient 2 = -0.098 (n2 =    895)

Ho: coefficient 1 = coefficient 2
         z = {res} -1.399
{txt}Prob > |z| = {res}  0.1617
{txt}
{com}. 
. 
. * LOYALTY-POLICY COMPETENCE (TOPLEVEL DISTINCTION ONLY FOR MAJOR AGENCY HEADS) **
. cortesti -0.472 311 -0.385 1061

{txt}Test of equality of two correlation coefficients
drawn from the two different samples
------------------------------------------------

Coefficient 1 = -0.472 (n1 =    311)
Coefficient 2 = -0.385 (n2 =   1061)

Ho: coefficient 1 = coefficient 2
         z = {res} -1.648
{txt}Prob > |z| = {res}  0.0993
{txt}
{com}. 
. 
. * LOYALTY-POLICY COMPETENCE (TOPLEVEL2 DISTINCTION FOR MAJOR AGENCY & SUBAGENCY HEADS) *
. cortesti -0.523 477 -0.379 895

{txt}Test of equality of two correlation coefficients
drawn from the two different samples
------------------------------------------------

Coefficient 1 = -0.523 (n1 =    477)
Coefficient 2 = -0.379 (n2 =    895)

Ho: coefficient 1 = coefficient 2
         z = {res} -3.194
{txt}Prob > |z| = {res}  0.0014
{txt}
{com}. 
. 
. *********************************************************************************************************************************************************************************************
. ***************************************************************************************************************************************************************************************************************************************
. *********************************************************************************************************************************************************************************************
. ***************************************************************************************************************************************************************************************************************************************
. *********************************************************************************************************************************************************************************************
.  
. 
. ** FIGURE 1A:  DIFFERENCES IN GROUPED MEAN ANALYSIS OF BUREAUCRATIC LEADERS' LATENT AGENT TRAITS BY ORGANIZATIONAL POSITION: ///
> **             TOP-LEVEL VERSUS SUBORDINATE AGENCY LEADERSHIP POSITIONS **
.  
. 
. ttest zloyalmedian, by(toplevel) unequal welch

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}  1,061{col 22}-.1912296{col 34} .0279529{col 46} .9105102{col 58}-.2460789{col 70}-.1363803
       {txt}1 {c |}{res}{col 12}    311{col 22} .6523943{col 34} .0577077{col 46} 1.017687{col 58} .5388459{col 70} .7659426
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}  1,372{col 22}-9.53e-10{col 34} .0269975{col 46}        1{col 58}-.0529608{col 70} .0529608
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.8436239{col 34} .0641213{col 58}-.9696266{col 70}-.7176211
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}-13.1567
{txt}Ho: diff = 0                             Welch's degrees of freedom = {res} 466.017

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0000         {txt}Pr(|T| > |t|) = {res}0.0000          {txt}Pr(T > t) = {res}1.0000
{txt}
{com}. 
.  
. ttest zloyalmedian, by(toplevel2) unequal welch

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    895{col 22}-.1892111{col 34} .0311428{col 46} .9316862{col 58}-.2503327{col 70}-.1280895
       {txt}1 {c |}{res}{col 12}    477{col 22} .3550187{col 34} .0470587{col 46} 1.027777{col 58} .2625502{col 70} .4474871
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}  1,372{col 22}-9.53e-10{col 34} .0269975{col 46}        1{col 58}-.0529608{col 70} .0529608
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.5442298{col 34} .0564304{col 58}-.6549812{col 70}-.4334783
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -9.6443
{txt}Ho: diff = 0                             Welch's degrees of freedom = {res} 894.628

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0000         {txt}Pr(|T| > |t|) = {res}0.0000          {txt}Pr(T > t) = {res}1.0000
{txt}
{com}. 
. 
. 
. ttest zmecompmedian, by(toplevel) unequal welch

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}  1,061{col 22}-.0018209{col 34} .0300963{col 46} .9803259{col 58} -.060876{col 70} .0572341
       {txt}1 {c |}{res}{col 12}    311{col 22} .0062123{col 34} .0604484{col 46}  1.06602{col 58}-.1127288{col 70} .1251534
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}  1,372{col 22} 5.57e-11{col 34} .0269975{col 46}        1{col 58}-.0529608{col 70} .0529608
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0080332{col 34} .0675263{col 58}-.1407202{col 70} .1246538
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.1190
{txt}Ho: diff = 0                             Welch's degrees of freedom = {res} 475.239

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.4527         {txt}Pr(|T| > |t|) = {res}0.9054          {txt}Pr(T > t) = {res}0.5473
{txt}
{com}. 
. ttest zmecompmedian, by(toplevel2) unequal welch

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    895{col 22}-.0026344{col 34} .0329493{col 46} .9857301{col 58}-.0673014{col 70} .0620327
       {txt}1 {c |}{res}{col 12}    477{col 22} .0049429{col 34} .0470354{col 46}  1.02727{col 58}-.0874799{col 70} .0973657
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}  1,372{col 22} 5.57e-11{col 34} .0269975{col 46}        1{col 58}-.0529608{col 70} .0529608
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0075773{col 34} .0574281{col 58}-.1202796{col 70}  .105125
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.1319
{txt}Ho: diff = 0                             Welch's degrees of freedom = {res} 939.316

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.4475         {txt}Pr(|T| > |t|) = {res}0.8951          {txt}Pr(T > t) = {res}0.5525
{txt}
{com}. 
. 
. ttest zpecompmedian, by(toplevel) unequal welch

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}  1,061{col 22} .0950758{col 34} .0299743{col 46} .9763526{col 58} .0362601{col 70} .1538915
       {txt}1 {c |}{res}{col 12}    311{col 22}-.3243583{col 34} .0574525{col 46} 1.013186{col 58}-.4374044{col 70}-.2113121
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}  1,372{col 22} 9.73e-10{col 34} .0269975{col 46}        1{col 58}-.0529608{col 70} .0529608
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}  .419434{col 34} .0648016{col 58} .2921122{col 70} .5467559
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  6.4726
{txt}Ho: diff = 0                             Welch's degrees of freedom = {res} 492.209

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}1.0000         {txt}Pr(|T| > |t|) = {res}0.0000          {txt}Pr(T > t) = {res}0.0000
{txt}
{com}. 
. ttest zpecompmedian, by(toplevel2) unequal welch

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    895{col 22} .0538381{col 34} .0327121{col 46} .9786343{col 58}-.0103635{col 70} .1180396
       {txt}1 {c |}{res}{col 12}    477{col 22}-.1010169{col 34} .0472698{col 46} 1.032387{col 58}-.1939001{col 70}-.0081337
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}  1,372{col 22} 9.73e-10{col 34} .0269975{col 46}        1{col 58}-.0529608{col 70} .0529608
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}  .154855{col 34} .0574849{col 58} .0420397{col 70} .2676702
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  2.6938
{txt}Ho: diff = 0                             Welch's degrees of freedom = {res} 929.492

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9964         {txt}Pr(|T| > |t|) = {res}0.0072          {txt}Pr(T > t) = {res}0.0036
{txt}
{com}. 
. 
. 
. *********************************************************************************************************************************************************************************************
. ***************************************************************************************************************************************************************************************************************************************
. *********************************************************************************************************************************************************************************************
. ***************************************************************************************************************************************************************************************************************************************
. *********************************************************************************************************************************************************************************************
. *********************************************************************************************************************************************************************************************
. ***************************************************************************************************************************************************************************************************************************************
. *********************************************************************************************************************************************************************************************
. ***************************************************************************************************************************************************************************************************************************************
. *********************************************************************************************************************************************************************************************
. 
.   
.  
. ** BY AGENCY DESIGN: [EXEC==1: EXECUTIVE DEPARTMENT, BUREAU, OR INDEPENDENT EXECUTIVE AGENCY; EXEC==0: INDEPENDENT REGULATORY COMMISSION/BOARD **
.  
. pwcorr  zloyalmedian zmecompmedian zpecompmedian if exec==1, obs sig bonferroni 

             {txt}{c |} zloyal~n zmecom~n zpecom~n
{hline 13}{c +}{hline 27}
zloyalmedian {c |} {res}  1.0000 
             {txt}{c |}
             {c |}{res}      860
             {txt}{c |}
zmecompmed~n {c |} {res} -0.1684   1.0000 
             {txt}{c |}{res}   0.0000
             {txt}{c |}{res}      860      860
             {txt}{c |}
zpecompmed~n {c |} {res} -0.5174   0.6942   1.0000 
             {txt}{c |}{res}   0.0000   0.0000
             {txt}{c |}{res}      860      860      860
             {txt}{c |}

{com}. 
. pwcorr  zloyalmedian zmecompmedian zpecompmedian if exec==0, obs sig bonferroni 

             {txt}{c |} zloyal~n zmecom~n zpecom~n
{hline 13}{c +}{hline 27}
zloyalmedian {c |} {res}  1.0000 
             {txt}{c |}
             {c |}{res}      512
             {txt}{c |}
zmecompmed~n {c |} {res} -0.0688   1.0000 
             {txt}{c |}{res}   0.3606
             {txt}{c |}{res}      512      512
             {txt}{c |}
zpecompmed~n {c |} {res} -0.3404   0.7021   1.0000 
             {txt}{c |}{res}   0.0000   0.0000
             {txt}{c |}{res}      512      512      512
             {txt}{c |}

{com}. 
. 
. 
. ** CORRELATIONS DIFFERENCES VIA FISHER R-TO-Z TRANSFORMATIONS **
.  
. 
. * LOYALTY-MANAGERIAL COMPETENCE *
. cortesti -0.1684 860 -0.0688 512

{txt}Test of equality of two correlation coefficients
drawn from the two different samples
------------------------------------------------

Coefficient 1 = -0.168 (n1 =    860)
Coefficient 2 = -0.069 (n2 =    512)

Ho: coefficient 1 = coefficient 2
         z = {res} -1.807
{txt}Prob > |z| = {res}  0.0708
{txt}
{com}. 
. 
. * LOYALTY-POLICY COMPETENCE*
. cortesti -0.5174 860 -0.3404 512

{txt}Test of equality of two correlation coefficients
drawn from the two different samples
------------------------------------------------

Coefficient 1 = -0.517 (n1 =    860)
Coefficient 2 = -0.340 (n2 =    512)

Ho: coefficient 1 = coefficient 2
         z = {res} -3.900
{txt}Prob > |z| = {res}  0.0001
{txt}
{com}. 
. 
. *********************************************************************************************************************************************************************************************
. ***************************************************************************************************************************************************************************************************************************************
. *********************************************************************************************************************************************************************************************
. ***************************************************************************************************************************************************************************************************************************************
. *********************************************************************************************************************************************************************************************
.  
.  
. 
. ** FIGURE 1B: DIFFERENCES IN GROUPED MEAN ANALYSIS OF BUREAUCRATIC LEADERS' LATENT AGENT TRAITS BY AGENCY DESIGN: ///
> **            EXECUTIVE BRANCH DEPARTMENTS & AGENCIES VERSUS INDEPENDENT REGULATORY COMMISSIONS/BOARDS **
. 
.  
. ttest zloyalmedian, by(exec) unequal welch

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    512{col 22}-.2157893{col 34} .0486764{col 46} 1.101421{col 58}-.3114197{col 70}-.1201588
       {txt}1 {c |}{res}{col 12}    860{col 22} .1284699{col 34} .0310682{col 46} .9110985{col 58} .0674914{col 70} .1894484
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}  1,372{col 22}-9.53e-10{col 34} .0269975{col 46}        1{col 58}-.0529608{col 70} .0529608
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.3442592{col 34} .0577462{col 58}-.4575883{col 70}  -.23093
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -5.9616
{txt}Ho: diff = 0                             Welch's degrees of freedom = {res} 922.672

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0000         {txt}Pr(|T| > |t|) = {res}0.0000          {txt}Pr(T > t) = {res}1.0000
{txt}
{com}.  
. ttest zmecompmedian, by(exec) unequal welch 

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    512{col 22}-.0176956{col 34} .0438598{col 46} .9924348{col 58}-.1038634{col 70} .0684722
       {txt}1 {c |}{res}{col 12}    860{col 22} .0105351{col 34}  .034267{col 46} 1.004905{col 58}-.0567217{col 70} .0777918
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}  1,372{col 22} 5.57e-11{col 34} .0269975{col 46}        1{col 58}-.0529608{col 70} .0529608
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0282306{col 34} .0556589{col 58}-.1374417{col 70} .0809804
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.5072
{txt}Ho: diff = 0                             Welch's degrees of freedom = {res} 1086.72

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.3061         {txt}Pr(|T| > |t|) = {res}0.6121          {txt}Pr(T > t) = {res}0.6939
{txt}
{com}. 
. ttest zpecompmedian, by(exec) unequal welch

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    512{col 22} .0125793{col 34} .0441376{col 46} .9987195{col 58}-.0741341{col 70} .0992928
       {txt}1 {c |}{res}{col 12}    860{col 22}-.0074891{col 34} .0341429{col 46} 1.001267{col 58}-.0745024{col 70} .0595243
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}  1,372{col 22} 9.73e-10{col 34} .0269975{col 46}        1{col 58}-.0529608{col 70} .0529608
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0200684{col 34}  .055802{col 58}-.0894245{col 70} .1295613
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.3596
{txt}Ho: diff = 0                             Welch's degrees of freedom = {res} 1078.19

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.6404         {txt}Pr(|T| > |t|) = {res}0.7192          {txt}Pr(T > t) = {res}0.3596
{txt}
{com}. 
. 
. 
. *********************************************************************************************************************************************************************************************
. ***************************************************************************************************************************************************************************************************************************************
. *********************************************************************************************************************************************************************************************
. ***************************************************************************************************************************************************************************************************************************************
. *********************************************************************************************************************************************************************************************
. *********************************************************************************************************************************************************************************************
. ***************************************************************************************************************************************************************************************************************************************
. *********************************************************************************************************************************************************************************************
. ***************************************************************************************************************************************************************************************************************************************
. *********************************************************************************************************************************************************************************************
.   
. 
. 
. 
. ** BY PRESIDENT-AGENCY IDEOLOGICAL CONFIGURATION: [PRESALLYAGENCYIDEOL==1: ALLY AGENCY; PRESALLYAGENCYIDEOL==0 NEUTRAL AGENCY; PRESALLYAGENCYIDEOL==-1: FOE AGENCY **
.  
. pwcorr  zloyalmedian zmecompmedian zpecompmedian if presallyagencyideol==1, obs sig bonferroni 

             {txt}{c |} zloyal~n zmecom~n zpecom~n
{hline 13}{c +}{hline 27}
zloyalmedian {c |} {res}  1.0000 
             {txt}{c |}
             {c |}{res}      468
             {txt}{c |}
zmecompmed~n {c |} {res} -0.0415   1.0000 
             {txt}{c |}{res}   1.0000
             {txt}{c |}{res}      468      468
             {txt}{c |}
zpecompmed~n {c |} {res} -0.3856   0.6486   1.0000 
             {txt}{c |}{res}   0.0000   0.0000
             {txt}{c |}{res}      468      468      468
             {txt}{c |}

{com}. 
. 
. pwcorr  zloyalmedian zmecompmedian zpecompmedian if presallyagencyideol==0, obs sig bonferroni 

             {txt}{c |} zloyal~n zmecom~n zpecom~n
{hline 13}{c +}{hline 27}
zloyalmedian {c |} {res}  1.0000 
             {txt}{c |}
             {c |}{res}      411
             {txt}{c |}
zmecompmed~n {c |} {res} -0.0874   1.0000 
             {txt}{c |}{res}   0.2301
             {txt}{c |}{res}      411      411
             {txt}{c |}
zpecompmed~n {c |} {res} -0.4125   0.7297   1.0000 
             {txt}{c |}{res}   0.0000   0.0000
             {txt}{c |}{res}      411      411      411
             {txt}{c |}

{com}. 
. 
. pwcorr  zloyalmedian zmecompmedian zpecompmedian if presallyagencyideol==-1, obs sig bonferroni 

             {txt}{c |} zloyal~n zmecom~n zpecom~n
{hline 13}{c +}{hline 27}
zloyalmedian {c |} {res}  1.0000 
             {txt}{c |}
             {c |}{res}      398
             {txt}{c |}
zmecompmed~n {c |} {res} -0.1749   1.0000 
             {txt}{c |}{res}   0.0014
             {txt}{c |}{res}      398      398
             {txt}{c |}
zpecompmed~n {c |} {res} -0.5048   0.7060   1.0000 
             {txt}{c |}{res}   0.0000   0.0000
             {txt}{c |}{res}      398      398      398
             {txt}{c |}

{com}. 
. 
. 
. ** CORRELATIONS DIFFERENCES VIA FISHER R-TO-Z TRANSFORMATIONS **
.  
. * LOYALTY-MANAGERIAL COMPETENCE [ALLY AGENCIES VS. FOE AGENCIES] *
. cortesti -0.042 468 -0.175 398

{txt}Test of equality of two correlation coefficients
drawn from the two different samples
------------------------------------------------

Coefficient 1 = -0.042 (n1 =    468)
Coefficient 2 = -0.175 (n2 =    398)

Ho: coefficient 1 = coefficient 2
         z = {res}  1.970
{txt}Prob > |z| = {res}  0.0488
{txt}
{com}. 
. 
. * LOYALTY-MANAGERIAL COMPETENCE [ALLY AGENCIES VS. NEUTRAL AGENCIES] *
. cortesti -0.042 468 -0.087 411

{txt}Test of equality of two correlation coefficients
drawn from the two different samples
------------------------------------------------

Coefficient 1 = -0.042 (n1 =    468)
Coefficient 2 = -0.087 (n2 =    411)

Ho: coefficient 1 = coefficient 2
         z = {res}  0.666
{txt}Prob > |z| = {res}  0.5052
{txt}
{com}. 
. 
. * LOYALTY-MANAGERIAL COMPETENCE [NEUTRAL AGENCIES VERSUS FOE AGENCIES] *
. cortesti -0.087 411 -0.0175 398

{txt}Test of equality of two correlation coefficients
drawn from the two different samples
------------------------------------------------

Coefficient 1 = -0.087 (n1 =    411)
Coefficient 2 = -0.018 (n2 =    398)

Ho: coefficient 1 = coefficient 2
         z = {res} -0.988
{txt}Prob > |z| = {res}  0.3233
{txt}
{com}. 
. 
. * LOYALTY-POLICY COMPETENCE [ALLY AGENCIES VS. FOE AGENCIES] *
. cortesti -0.386 468 -0.505 398

{txt}Test of equality of two correlation coefficients
drawn from the two different samples
------------------------------------------------

Coefficient 1 = -0.386 (n1 =    468)
Coefficient 2 = -0.505 (n2 =    398)

Ho: coefficient 1 = coefficient 2
         z = {res}  2.176
{txt}Prob > |z| = {res}  0.0295
{txt}
{com}. 
. 
. * LOYALTY-POLICY COMPETENCE [ALLY AGENCIES VS. NEUTRAL AGENCIES]*
. cortesti -0.386  468 -0.413 411

{txt}Test of equality of two correlation coefficients
drawn from the two different samples
------------------------------------------------

Coefficient 1 = -0.386 (n1 =    468)
Coefficient 2 = -0.413 (n2 =    411)

Ho: coefficient 1 = coefficient 2
         z = {res}  0.474
{txt}Prob > |z| = {res}  0.6357
{txt}
{com}. 
. 
. 
. * LOYALTY-POLICY COMPETENCE [NEUTRAL AGENCIES VERSUS FOE AGENCIES] *
. cortesti -0.413 411 -0.505 398  

{txt}Test of equality of two correlation coefficients
drawn from the two different samples
------------------------------------------------

Coefficient 1 = -0.413 (n1 =    411)
Coefficient 2 = -0.505 (n2 =    398)

Ho: coefficient 1 = coefficient 2
         z = {res}  1.654
{txt}Prob > |z| = {res}  0.0981
{txt}
{com}. 
. 
. 
. *********************************************************************************************************************************************************************************************
. ***************************************************************************************************************************************************************************************************************************************
. *********************************************************************************************************************************************************************************************
. ***************************************************************************************************************************************************************************************************************************************
. *********************************************************************************************************************************************************************************************
.  
. 
. 
. ** FIGURE 1C: DIFFERENCES IN GROUPED MEAN ANALYSIS OF BUREAUCRATIC LEADERS' LATENT AGENT TRAITS BY PRESIDENT-AGENCY IDEOLOGICAL CONFIGURATION: ///
> **            ALLY AGENCIES, NEUTRAL AGENCIES, & FOE AGENCIES **
. 
. 
. ttest zloyalmedian if presallyagencyideol!=-1, by(presallyagencyideol) unequal welch

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    411{col 22}-.1582846{col 34} .0501183{col 46} 1.016055{col 58}-.2568055{col 70}-.0597637
       {txt}1 {c |}{res}{col 12}    468{col 22} .0837543{col 34} .0446607{col 46} .9661589{col 58}-.0040065{col 70} .1715151
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    879{col 22}-.0294175{col 34} .0336141{col 46} .9965875{col 58}-.0953908{col 70} .0365558
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.2420389{col 34} .0671299{col 58}-.3737984{col 70}-.1102794
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -3.6055
{txt}Ho: diff = 0                             Welch's degrees of freedom = {res} 851.393

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0002         {txt}Pr(|T| > |t|) = {res}0.0003          {txt}Pr(T > t) = {res}0.9998
{txt}
{com}. 
. ttest zloyalmedian if presallyagencyideol!=0, by(presallyagencyideol) unequal welch

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
      -1 {c |}{res}{col 12}    398{col 22} .0735526{col 34} .0503576{col 46}  1.00463{col 58}-.0254482{col 70} .1725534
       {txt}1 {c |}{res}{col 12}    468{col 22} .0837543{col 34} .0446607{col 46} .9661589{col 58}-.0040065{col 70} .1715151
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    866{col 22} .0790658{col 34} .0334196{col 46} .9834671{col 58} .0134728{col 70} .1446587
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0102017{col 34} .0673087{col 58}-.1423165{col 70} .1219131
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}-1{txt}) - mean({res}1{txt})                                     t = {res} -0.1516
{txt}Ho: diff = 0                             Welch's degrees of freedom = {res} 832.364

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.4398         {txt}Pr(|T| > |t|) = {res}0.8796          {txt}Pr(T > t) = {res}0.5602
{txt}
{com}. 
. ttest zloyalmedian if presallyagencyideol!=1, by(presallyagencyideol) unequal welch

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
      -1 {c |}{res}{col 12}    398{col 22} .0735526{col 34} .0503576{col 46}  1.00463{col 58}-.0254482{col 70} .1725534
       {txt}0 {c |}{res}{col 12}    411{col 22}-.1582846{col 34} .0501183{col 46} 1.016055{col 58}-.2568055{col 70}-.0597637
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    809{col 22}-.0442287{col 34}  .035737{col 46} 1.016463{col 58}-.1143769{col 70} .0259195
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .2318372{col 34} .0710474{col 58} .0923782{col 70} .3712962
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}-1{txt}) - mean({res}0{txt})                                     t = {res}  3.2631
{txt}Ho: diff = 0                             Welch's degrees of freedom = {res} 808.649

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9994         {txt}Pr(|T| > |t|) = {res}0.0011          {txt}Pr(T > t) = {res}0.0006
{txt}
{com}. 
. 
. 
. ttest zmecompmedian if presallyagencyideol!=-1, by(presallyagencyideol) unequal welch

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    411{col 22} .0600776{col 34} .0502259{col 46} 1.018236{col 58}-.0386548{col 70}   .15881
       {txt}1 {c |}{res}{col 12}    468{col 22}-.0026176{col 34} .0444503{col 46} .9616068{col 58}-.0899649{col 70} .0847298
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    879{col 22} .0266972{col 34} .0333385{col 46} .9884179{col 58}-.0387352{col 70} .0921297
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0626951{col 34} .0670706{col 58}-.0689485{col 70} .1943388
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.9348
{txt}Ho: diff = 0                             Welch's degrees of freedom = {res} 849.342

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.8249         {txt}Pr(|T| > |t|) = {res}0.3502          {txt}Pr(T > t) = {res}0.1751
{txt}
{com}. 
. ttest zmecompmedian if presallyagencyideol!=0, by(presallyagencyideol) unequal welch

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
      -1 {c |}{res}{col 12}    398{col 22}-.1121703{col 34} .0485694{col 46} .9689555{col 58}-.2076555{col 70} -.016685
       {txt}1 {c |}{res}{col 12}    468{col 22}-.0026176{col 34} .0444503{col 46} .9616068{col 58}-.0899649{col 70} .0847298
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    866{col 22}-.0529663{col 34} .0328253{col 46} .9659784{col 58}-.1173928{col 70} .0114603
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.1095527{col 34} .0658393{col 58}-.2387811{col 70} .0196757
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}-1{txt}) - mean({res}1{txt})                                     t = {res} -1.6639
{txt}Ho: diff = 0                             Welch's degrees of freedom = {res} 841.734

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0482         {txt}Pr(|T| > |t|) = {res}0.0965          {txt}Pr(T > t) = {res}0.9518
{txt}
{com}. 
. ttest zmecompmedian if presallyagencyideol!=1, by(presallyagencyideol) unequal welch

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
      -1 {c |}{res}{col 12}    398{col 22}-.1121703{col 34} .0485694{col 46} .9689555{col 58}-.2076555{col 70} -.016685
       {txt}0 {c |}{res}{col 12}    411{col 22} .0600776{col 34} .0502259{col 46} 1.018236{col 58}-.0386548{col 70}   .15881
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    809{col 22}-.0246624{col 34} .0350671{col 46} .9974116{col 58}-.0934958{col 70}  .044171
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.1722479{col 34} .0698686{col 58}-.3093931{col 70}-.0351027
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}-1{txt}) - mean({res}0{txt})                                     t = {res} -2.4653
{txt}Ho: diff = 0                             Welch's degrees of freedom = {res} 808.752

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0069         {txt}Pr(|T| > |t|) = {res}0.0139          {txt}Pr(T > t) = {res}0.9931
{txt}
{com}. 
. 
. 
. ttest zmecompmedian if presallyagencyideol!=-1, by(presallyagencyideol) unequal welch

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    411{col 22} .0600776{col 34} .0502259{col 46} 1.018236{col 58}-.0386548{col 70}   .15881
       {txt}1 {c |}{res}{col 12}    468{col 22}-.0026176{col 34} .0444503{col 46} .9616068{col 58}-.0899649{col 70} .0847298
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    879{col 22} .0266972{col 34} .0333385{col 46} .9884179{col 58}-.0387352{col 70} .0921297
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0626951{col 34} .0670706{col 58}-.0689485{col 70} .1943388
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.9348
{txt}Ho: diff = 0                             Welch's degrees of freedom = {res} 849.342

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.8249         {txt}Pr(|T| > |t|) = {res}0.3502          {txt}Pr(T > t) = {res}0.1751
{txt}
{com}. 
. ttest zmecompmedian if presallyagencyideol!=0, by(presallyagencyideol) unequal welch

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
      -1 {c |}{res}{col 12}    398{col 22}-.1121703{col 34} .0485694{col 46} .9689555{col 58}-.2076555{col 70} -.016685
       {txt}1 {c |}{res}{col 12}    468{col 22}-.0026176{col 34} .0444503{col 46} .9616068{col 58}-.0899649{col 70} .0847298
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    866{col 22}-.0529663{col 34} .0328253{col 46} .9659784{col 58}-.1173928{col 70} .0114603
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.1095527{col 34} .0658393{col 58}-.2387811{col 70} .0196757
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}-1{txt}) - mean({res}1{txt})                                     t = {res} -1.6639
{txt}Ho: diff = 0                             Welch's degrees of freedom = {res} 841.734

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0482         {txt}Pr(|T| > |t|) = {res}0.0965          {txt}Pr(T > t) = {res}0.9518
{txt}
{com}. 
. ttest zmecompmedian if presallyagencyideol!=1, by(presallyagencyideol) unequal welch

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
      -1 {c |}{res}{col 12}    398{col 22}-.1121703{col 34} .0485694{col 46} .9689555{col 58}-.2076555{col 70} -.016685
       {txt}0 {c |}{res}{col 12}    411{col 22} .0600776{col 34} .0502259{col 46} 1.018236{col 58}-.0386548{col 70}   .15881
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    809{col 22}-.0246624{col 34} .0350671{col 46} .9974116{col 58}-.0934958{col 70}  .044171
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.1722479{col 34} .0698686{col 58}-.3093931{col 70}-.0351027
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}-1{txt}) - mean({res}0{txt})                                     t = {res} -2.4653
{txt}Ho: diff = 0                             Welch's degrees of freedom = {res} 808.752

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0069         {txt}Pr(|T| > |t|) = {res}0.0139          {txt}Pr(T > t) = {res}0.9931
{txt}
{com}. 
. 
. 
. *********************************************************************************************************************************************************************************************
. ***************************************************************************************************************************************************************************************************************************************
. *********************************************************************************************************************************************************************************************
. ***************************************************************************************************************************************************************************************************************************************
. *********************************************************************************************************************************************************************************************
. *********************************************************************************************************************************************************************************************
. ***************************************************************************************************************************************************************************************************************************************
. *********************************************************************************************************************************************************************************************
. ***************************************************************************************************************************************************************************************************************************************
. *********************************************************************************************************************************************************************************************
.   
. 
. ** BY PRESIDENT-SENATE MAJORITY PARTISAN CONFLICT [DIVIDEDPRESSENATE==1 IF PRESIDENT & SENATE MAJORITY ARE CONTROLLED BY OPPOSITE PARTIES; = 0 IF PRESIDENT & SENATE MAJORITY ARE CONTROLLED BY SAME PARTY **
.  
. pwcorr  zloyalmedian zmecompmedian zpecompmedian if dividedpressenate==1, obs sig bonferroni 

             {txt}{c |} zloyal~n zmecom~n zpecom~n
{hline 13}{c +}{hline 27}
zloyalmedian {c |} {res}  1.0000 
             {txt}{c |}
             {c |}{res}      494
             {txt}{c |}
zmecompmed~n {c |} {res} -0.0619   1.0000 
             {txt}{c |}{res}   0.5087
             {txt}{c |}{res}      494      494
             {txt}{c |}
zpecompmed~n {c |} {res} -0.3664   0.6647   1.0000 
             {txt}{c |}{res}   0.0000   0.0000
             {txt}{c |}{res}      494      494      494
             {txt}{c |}

{com}. 
. pwcorr  zloyalmedian zmecompmedian zpecompmedian if dividedpressenate==0, obs sig bonferroni 

             {txt}{c |} zloyal~n zmecom~n zpecom~n
{hline 13}{c +}{hline 27}
zloyalmedian {c |} {res}  1.0000 
             {txt}{c |}
             {c |}{res}      878
             {txt}{c |}
zmecompmed~n {c |} {res} -0.1479   1.0000 
             {txt}{c |}{res}   0.0000
             {txt}{c |}{res}      878      878
             {txt}{c |}
zpecompmed~n {c |} {res} -0.4688   0.7093   1.0000 
             {txt}{c |}{res}   0.0000   0.0000
             {txt}{c |}{res}      878      878      878
             {txt}{c |}

{com}. 
. 
. 
. *** DROPPING OUT HOLDOVER, PLUS RELEVANT FDA [PRE-KESSLER, 1990] AND HCFA/CMS [PRE-ROPER, 1986] ADMINISTRATORS NOT SUBJECT TO SENATE CONFIRMATION ***
. 
. pwcorr  zloyalmedian zmecompmedian zpecompmedian if dividedpressenate==1 & holdover==0 & nonsenconfirmed==0, obs sig bonferroni 

             {txt}{c |} zloyal~n zmecom~n zpecom~n
{hline 13}{c +}{hline 27}
zloyalmedian {c |} {res}  1.0000 
             {txt}{c |}
             {c |}{res}      463
             {txt}{c |}
zmecompmed~n {c |} {res} -0.0456   1.0000 
             {txt}{c |}{res}   0.9814
             {txt}{c |}{res}      463      463
             {txt}{c |}
zpecompmed~n {c |} {res} -0.3602   0.6552   1.0000 
             {txt}{c |}{res}   0.0000   0.0000
             {txt}{c |}{res}      463      463      463
             {txt}{c |}

{com}. 
. pwcorr  zloyalmedian zmecompmedian zpecompmedian if dividedpressenate==0 & holdover==0 & nonsenconfirmed==0, obs sig bonferroni 

             {txt}{c |} zloyal~n zmecom~n zpecom~n
{hline 13}{c +}{hline 27}
zloyalmedian {c |} {res}  1.0000 
             {txt}{c |}
             {c |}{res}      825
             {txt}{c |}
zmecompmed~n {c |} {res} -0.1102   1.0000 
             {txt}{c |}{res}   0.0046
             {txt}{c |}{res}      825      825
             {txt}{c |}
zpecompmed~n {c |} {res} -0.4444   0.6975   1.0000 
             {txt}{c |}{res}   0.0000   0.0000
             {txt}{c |}{res}      825      825      825
             {txt}{c |}

{com}. 
. 
. 
. 
. ** CORRELATIONS DIFFERENCES VIA FISHER R-TO-Z TRANSFORMATIONS **
.  
. 
. * LOYALTY-MANAGERIAL COMPETENCE (FULL SAMPLE: INCLUDING NON-SENATE CONFIRMED APPOINTEES) *
. cortesti -0.148 878 -0.062 494

{txt}Test of equality of two correlation coefficients
drawn from the two different samples
------------------------------------------------

Coefficient 1 = -0.148 (n1 =    878)
Coefficient 2 = -0.062 (n2 =    494)

Ho: coefficient 1 = coefficient 2
         z = {res} -1.543
{txt}Prob > |z| = {res}  0.1228
{txt}
{com}. 
. 
. * LOYALTY-MANAGERIAL COMPETENCE (RESTRICTED SAMPLE: INCLUDING ONLY SENATE CONFIRMED APPOINTEES: OMIT RECESS LONG-TERM APPOINTEES AND NON-SENATE CONFIRMED POSITIONS) *
. cortesti -0.1102 825  -0.0456 483

{txt}Test of equality of two correlation coefficients
drawn from the two different samples
------------------------------------------------

Coefficient 1 = -0.110 (n1 =    825)
Coefficient 2 = -0.046 (n2 =    483)

Ho: coefficient 1 = coefficient 2
         z = {res} -1.132
{txt}Prob > |z| = {res}  0.2577
{txt}
{com}. 
. 
. * LOYALTY-POLICY COMPETENCE (FULL SAMPLE: INCLUDING NON-SENATE CONFIRMED APPOINTEES)  **
. cortesti -0.469 878 -0.366 494

{txt}Test of equality of two correlation coefficients
drawn from the two different samples
------------------------------------------------

Coefficient 1 = -0.469 (n1 =    878)
Coefficient 2 = -0.366 (n2 =    494)

Ho: coefficient 1 = coefficient 2
         z = {res} -2.217
{txt}Prob > |z| = {res}  0.0266
{txt}
{com}. 
. 
. * LOYALTY-POLICY COMPETENCE (RESTRICTED SAMPLE: INCLUDING ONLY SENATE CONFIRMED APPOINTEES: OMIT RECESS LONG-TERM APPOINTEES AND NON-SENATE CONFIRMED POSITIONS) *
. cortesti -0.4444 825 -0.3602 483

{txt}Test of equality of two correlation coefficients
drawn from the two different samples
------------------------------------------------

Coefficient 1 = -0.444 (n1 =    825)
Coefficient 2 = -0.360 (n2 =    483)

Ho: coefficient 1 = coefficient 2
         z = {res} -1.751
{txt}Prob > |z| = {res}  0.0799
{txt}
{com}. 
. 
. 
. *********************************************************************************************************************************************************************************************
. ***************************************************************************************************************************************************************************************************************************************
. *********************************************************************************************************************************************************************************************
. ***************************************************************************************************************************************************************************************************************************************
. *********************************************************************************************************************************************************************************************
. 
. 
. 
. ** FIGURE 1D: DIFFERENCES IN GROUPED MEAN ANALYSIS OF BUREAUCRATIC LEADERS' LATENT AGENT TRAITS BY PRESIDENT-SENATE MAJORITY PARTISAN CONFLICT: ///
> **            PRESIDENT & SENATE MAJORITY ARE CONTROLLED BY OPPOSITE PARTIES VERSUS SAME PARTY **
. 
. 
. ttest zloyalmedian, by(dividedpressenate) unequal welch

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    878{col 22} .0260747{col 34}  .034714{col 46} 1.028612{col 58}-.0420575{col 70} .0942068
       {txt}1 {c |}{res}{col 12}    494{col 22}-.0463433{col 34} .0425744{col 46} .9462628{col 58}-.1299929{col 70} .0373063
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}  1,372{col 22}-9.53e-10{col 34} .0269975{col 46}        1{col 58}-.0529608{col 70} .0529608
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}  .072418{col 34}  .054933{col 58}-.0353678{col 70} .1802037
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  1.3183
{txt}Ho: diff = 0                             Welch's degrees of freedom = {res} 1096.54

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9062         {txt}Pr(|T| > |t|) = {res}0.1877          {txt}Pr(T > t) = {res}0.0938
{txt}
{com}. 
. 
. ttest zmecompmedian, by(dividedpressenate) unequal welch

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    878{col 22}-.0859014{col 34} .0339457{col 46} 1.005849{col 58}-.1525258{col 70} -.019277
       {txt}1 {c |}{res}{col 12}    494{col 22} .1526749{col 34} .0437295{col 46} .9719364{col 58} .0667557{col 70}  .238594
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}  1,372{col 22} 5.57e-11{col 34} .0269975{col 46}        1{col 58}-.0529608{col 70} .0529608
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.2385762{col 34} .0553587{col 58} -.347202{col 70}-.1299504
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -4.3096
{txt}Ho: diff = 0                             Welch's degrees of freedom = {res} 1053.48

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0000         {txt}Pr(|T| > |t|) = {res}0.0000          {txt}Pr(T > t) = {res}1.0000
{txt}
{com}. 
. 
. ttest zpecompmedian, by(dividedpressenate) unequal welch

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    878{col 22} -.062666{col 34} .0346117{col 46} 1.025581{col 58}-.1305974{col 70} .0052655
       {txt}1 {c |}{res}{col 12}    494{col 22}  .111378{col 34} .0424556{col 46}  .943624{col 58} .0279616{col 70} .1947943
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}  1,372{col 22} 9.73e-10{col 34} .0269975{col 46}        1{col 58}-.0529608{col 70} .0529608
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.1740439{col 34} .0547764{col 58}-.2815223{col 70}-.0665656
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -3.1774
{txt}Ho: diff = 0                             Welch's degrees of freedom = {res}  1096.4

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0008         {txt}Pr(|T| > |t|) = {res}0.0015          {txt}Pr(T > t) = {res}0.9992
{txt}
{com}. 
. 
. 
. 
. 
. ttest zloyalmedian if holdover==0 & nonsenconfirmed==0, by(dividedpressenate) unequal welch

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    825{col 22} .0717275{col 34} .0353568{col 46} 1.015546{col 58} .0023276{col 70} .1411274
       {txt}1 {c |}{res}{col 12}    463{col 22}-.0273338{col 34} .0439121{col 46} .9448747{col 58}-.1136259{col 70} .0589583
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}  1,288{col 22} .0361177{col 34} .0276269{col 46} .9914933{col 58}-.0180809{col 70} .0903164
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0990613{col 34}  .056377{col 58}-.0115672{col 70} .2096897
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  1.7571
{txt}Ho: diff = 0                             Welch's degrees of freedom = {res} 1017.86

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9604         {txt}Pr(|T| > |t|) = {res}0.0792          {txt}Pr(T > t) = {res}0.0396
{txt}
{com}. 
. 
. ttest zmecompmedian if holdover==0 & nonsenconfirmed==0, by(dividedpressenate) unequal welch

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    825{col 22}-.1449146{col 34} .0344107{col 46} .9883712{col 58}-.2124575{col 70}-.0773718
       {txt}1 {c |}{res}{col 12}    463{col 22} .0910423{col 34} .0450513{col 46} .9693882{col 58} .0025115{col 70} .1795731
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}  1,288{col 22}-.0600947{col 34}  .027522{col 46} .9877282{col 58}-.1140876{col 70}-.0061019
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.2359569{col 34} .0566896{col 58}-.3472047{col 70}-.1247092
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -4.1623
{txt}Ho: diff = 0                             Welch's degrees of freedom = {res} 974.606

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0000         {txt}Pr(|T| > |t|) = {res}0.0000          {txt}Pr(T > t) = {res}1.0000
{txt}
{com}. 
. 
. ttest zpecompmedian if holdover==0 & nonsenconfirmed==0, by(dividedpressenate) unequal welch

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    825{col 22}-.1169681{col 34}   .03542{col 46} 1.017361{col 58} -.186492{col 70}-.0474441
       {txt}1 {c |}{res}{col 12}    463{col 22} .0630048{col 34} .0438446{col 46} .9434233{col 58}-.0231547{col 70} .1491644
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}  1,288{col 22}-.0522728{col 34} .0277192{col 46} .9948067{col 58}-.1066526{col 70}  .002107
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.1799729{col 34} .0563642{col 58}-.2905759{col 70}-.0693699
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -3.1930
{txt}Ho: diff = 0                             Welch's degrees of freedom = {res}  1020.6

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0007         {txt}Pr(|T| > |t|) = {res}0.0015          {txt}Pr(T > t) = {res}0.9993
{txt}
{com}. 
. 
. 
. 
. log close 
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}F:\Presidential Studies Quarterly Data Replication\Manuscript\Loyalty-Competence Tradeoffs.TABLE 1 & FIGURE 1 STATISTICS.09-23-2018.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res}23 Sep 2018, 20:58:29
{txt}{.-}
{smcl}
{txt}{sf}{ul off}